package com.atguigu.aiproject.vo;

import lombok.Data;

import java.util.List;

@Data
public class PageBean <T> {
    private List<T> list;
    private Integer total;
    private Integer current;
    private Integer size;
    private Integer pages;
    public PageBean(List<T> list, Integer total, Integer current, Integer size, Integer pages) {
        this.list = list;
        this.total = total;
        this.current = current;
        this.size = size;
        this.pages = pages;
    }
}
